package person.aoao.library.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (Cards)实体类
 *
 * @author makejava
 * @since 2023-05-06 01:37:54
 */
public class Cards implements Serializable {
    private static final long serialVersionUID = -17424370477731948L;
    /**
     * 打卡编号
     */
    private Integer cardid;
    /**
     * 打卡状态 0入座打卡 1离座打卡 2打卡完毕
     */
    private Integer cardstate;
    /**
     * 地点经度
     */
    private String startaddress;
    /**
     * 地点维度
     */
    private String endaddress;
    /**
     * 预约单关联
     */
    private Integer willid;
    /**
     * 入座时间
     */

    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date starttime;
    /**
     * 离座时间
     */

    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date endtime;


    public Integer getCardid() {
        return cardid;
    }

    public void setCardid(Integer cardid) {
        this.cardid = cardid;
    }

    public Integer getCardstate() {
        return cardstate;
    }

    public void setCardstate(Integer cardstate) {
        this.cardstate = cardstate;
    }

    public String getStartaddress() {
        return startaddress;
    }

    public void setStartaddress(String startaddress) {
        this.startaddress = startaddress;
    }

    public String getEndaddress() {
        return endaddress;
    }

    public void setEndaddress(String endaddress) {
        this.endaddress = endaddress;
    }

    public Integer getWillid() {
        return willid;
    }

    public void setWillid(Integer willid) {
        this.willid = willid;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

}

